package creational.abstractfactory;

public class IntelPcFactory implements IPcFacotry {


    @Override
    public Pc createComputer(int iCpuType, int iMainboardType, int iGraphicsCard) {
        IntelCpu pCpu = new IntelCpu(iCpuType);
        IntelMainboard pMainboardType = new IntelMainboard(iMainboardType);
        IntelGraphicsCard pGraphicsCard = new IntelGraphicsCard(iGraphicsCard);
        return new Pc(pCpu, pMainboardType, pGraphicsCard);
    }
}
